from typing import Iterator
from .base import BaseBlock


class IdeaBlock(BaseBlock):
    """User-specified research idea.

    """
    @classmethod
    def from_state(cls, data: dict) -> 'IdeaBlock':
        return super().from_state(data)

    async def run(self) -> Iterator[dict]:
        pass

    def to_state(self, data: dict):
        return super().to_state(data)
